#include "mymath.h"

int addToVal(int from, int to)
{
    assert(from <= to);
    int ret = 0;
    for (int i = from; i < to; ++i)
    {
        ret += i;
    }
    return ret;
}
